-
Notifications
You must be signed in to change notification settings - Fork 4
Support ERC20 in RewardDistributor #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think we should add an onlyOwner
rescue function that allow arbitrary call (except to the token contract, or send eth in the token=0 case) to save fund that are mistakenly sent to this contract, as I can see that might happen due to people not realizing each reward distributor only accept a specific token.
Co-authored-by: gzeon <[email protected]>
This reverts commit 188314c.
No description provided.